import unittest, time
from PO.Page.Page import Page
from selenium import webdriver
import logging
from PO.Tools.Tools import Tools
class Case(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Edge()
        self.driver.maximize_window()
        Tools().Log()
        print("初始化")

    def tearDown(self) -> None:
        time.sleep(3)
        self.driver.quit()

        print("完成")

    def test_001(self):
        po = Page(self.driver)
        po.login_go("X15533006829", "djfkjds")
        logging.debug("end message - 001")


if __name__ == '__main__':
    unittest.main()
